package com.keba.lamp.office.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class OfficeQueryVO {
    @Schema(description = "模版主键")
    private Long id;
    /**
     * 模版名称
     */
    @Schema(description = "模版名称")
    @NotEmpty(message = "请填写模版名称")
    @Size(max = 255, message = "模版名称长度不能超过{max}")
    private String name;
    /**
     * 文书类型 [01立案文书、02律师函]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TYPE)
     */
    @Schema(description = "文书类型 [01立案文书、02律师函]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TYPE)")
    @NotEmpty(message = "请填写文书类型 [01立案文书、02律师函]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TYPE)")
    @Size(max = 10, message = "文书类型 [01立案文书、02律师函]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TYPE)长度不能超过{max}")
    private String docType;
    /**
     * 文书模版类型 [01送达地址、02银行结算确认书]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TEMPLATE_TYPE)
     */
    @Schema(description = "文书模版类型 [01送达地址、02银行结算确认书]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TEMPLATE_TYPE)")
    @Size(max = 255, message = "文书模版类型 [01送达地址、02银行结算确认书]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.DOC_TEMPLATE_TYPE)长度不能超过{max}")
    private String docTemplateType;
    /**
     * 【多选】适用当事人0-原告，1-被告
     */
    @Schema(description = "【多选】适用当事人0-原告，1-被告")
    @Size(max = 10, message = "【多选】适用当事人0-原告，1-被告长度不能超过{max}")
    private String applyParty;
    /**
     * 当事人类型（0-自然人，1-企业法人）
     */
    @Schema(description = "当事人类型（0-自然人，1-企业法人）")
    @NotNull(message = "请填写当事人类型（0-自然人，1-企业法人）")
    private Integer partyType;

    @Schema(description = "区域ID")
    private Long areaId;

    @Schema(description = "案事件ID")
    private Long caseId;

    @Schema(description = "关联的案件用户id")
    private Long caseUserId;
}
